package cn.stylefeng.guns.modular.User.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("User")
public class User extends BaseEntity {

    @TableId("id")
    @Excel(name = "编号", width = 20)
    private Long id;

    @TableField("pid")
    private int pid;

    @TableField("account")
    private String account;

    @TableField("password")
    private String password;

    @TableField("name")
    @Excel(name = "姓名",width = 20)
    private String name;

    @TableField("avatar")
    @Excel(name = "照片",width = 20)
    private Long avatar;

    @TableField("birthday")
    private Date birthday;

    @TableField("sex")
    @Excel(name = "性别",width = 20)
    private Integer sex;

    @TableField("score")
    private float score;

    @TableField("email")
    private String email;

    @TableField("phone")
    private String phone;

    @TableField("tel")
    private String tel;

    @TableField("admin_type")
    private Integer adminType;

    @TableField("status")
    private Integer status;




}
